// @ts-nocheck
import { connect } from 'react-redux';
import {
  setPaymentReceivesTableState,
  resetPaymentReceivesTableState,
  setPaymentReceivesSelectedRows,
} from '@/store/PaymentReceives/paymentReceives.actions';

const mapDispatchToProps = (dispatch) => ({
  setPaymentReceivesTableState: (state) =>
    dispatch(setPaymentReceivesTableState(state)),

  resetPaymentReceivesTableState: () =>
    dispatch(resetPaymentReceivesTableState()),

  setPaymentReceivesSelectedRows: (selectedRows: number[]) =>
    dispatch(setPaymentReceivesSelectedRows(selectedRows)),
});

export default connect(null, mapDispatchToProps);
